import React, { Component } from 'react'
import { Button, DatePicker } from 'antd';
import {WechatOutlined, SearchOutlined} from '@ant-design/icons';
import 'antd/dist/antd.css'

export default class App extends Component {

	onChange = (date, dateString) => {
		console.log(date, dateString);
	  }

	render() {
		return (
			<div>
				app...
				<button>点我</button>
				<Button type="primary">按钮1</Button>
				<Button>按钮2</Button>
				<Button type='link'>按钮3</Button>
				<WechatOutlined />
				<Button type="primary" icon={<SearchOutlined />}>
					Search
				</Button>

				<DatePicker onChange={this.onChange} />
			</div>
		)
	}
}
